﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Login.Master" CodeBehind="ResetPassword.aspx.vb" Inherits="RWN.ResetPassword" %>
<%@ MasterType VirtualPath="~/Login.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div style="padding-top: 300px">
		<div class="layout_forgatpassword">
			<fieldset>
			<legend>ตั้งค่ารหัสผ่านใหม่</legend>
				<table>
					<tr>
						<td>
							รหัสนักธุรกิจ:</td>
						<td>
							<asp:TextBox ID="txtAppId" runat="server" Enabled="False" Width="150px"></asp:TextBox>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
								ErrorMessage="กรุณาระบุรหัสนักธุรกิจ" ControlToValidate="txtAppId" 
								ValidationGroup="forget">*</asp:RequiredFieldValidator>
						</td>
					</tr>
					<tr>
						<td>
							รหัสผ่านใหม่:</td>
						<td>
							<asp:TextBox ID="txtNewPassword" runat="server" Width="150px" MaxLength="10" 
								TextMode="Password"></asp:TextBox>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
								ErrorMessage="กรุณาระบุรหัสผ่านใหม่" ControlToValidate="txtNewPassword" 
								ValidationGroup="forget">*</asp:RequiredFieldValidator>
						</td>
					</tr>
					<tr>
						<td>
							
							รหัสผ่านใหม่ (ยืนยัน):</td>
						<td>
							<asp:TextBox ID="txtConfirmNewPassword" runat="server" Width="150px" 
								MaxLength="10" TextMode="Password"></asp:TextBox>
							<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
								ErrorMessage="กรุณาระบุรหัสผ่านใหม่ (ยืนยัน)" ControlToValidate="txtConfirmNewPassword" 
								ValidationGroup="forget">*</asp:RequiredFieldValidator>
							<asp:CompareValidator ID="CompareValidator1" runat="server" 
								ControlToCompare="txtNewPassword" ControlToValidate="txtConfirmNewPassword" 
								Display="Dynamic" ErrorMessage="กรุณาระบุรหัสผ่านใหม่ให้เหมือนก้น" 
								ValidationGroup="forget">*</asp:CompareValidator>
						</td>
					</tr>
					<tr>
						<td>
							
							<asp:HiddenField ID="hfOfficerId" runat="server" />
							
							<asp:ValidationSummary ID="ValidationSummary1" runat="server" 
								ShowMessageBox="True" ShowSummary="False" ValidationGroup="forget" />
						</td>
						<td style="text-align: right">
							<asp:Button ID="Button1" runat="server" Text="ตกลง" Width="70px" 
								ValidationGroup="forget" />
&nbsp;<asp:Button ID="Button2" runat="server" Text="ยกเลิก" Width="70px" />
						</td>
					</tr>
				</table>
			</fieldset>
		</div>
	</div>
</asp:Content>
